﻿using System;
using System.Collections.Generic;
using ShopB2C.Entity;

namespace ShopB2C.ViewModels {   
    /// <summary>
    /// 新闻
    /// </summary>
    [Serializable]
    public class NewsViewModel {
        /// <summary>
        /// 分页实体
        /// </summary>
        public object Pager { get; set; }
        /// <summary>
        /// 分页
        /// </summary>
        public int PageNumber { get; set; }
        /// <summary>
        /// 搜索关键字
        /// </summary>
        public string Key { get; set; }
        /// <summary>
        /// 新闻分类 ID
        /// </summary>
        public int ClassifyId { get; set; }
        /// <summary>
        /// 新闻
        /// </summary>
        public NewsEntity News { get; set; }
        /// <summary>
        /// 新闻集
        /// </summary>
        public List<NewsEntity> NewsList { get; set; }
        /// <summary>
        /// 新闻分类集
        /// </summary>
        public List<ClassifyEntity> ClassifyList { get; set; }
    }

}
